home *** CD-ROM | disk | FTP | other *** search
/ The Trig Explorer / The Trig Explorer.iso / mac / Explorer / DEGREE1.dxr / 00065.ls < prev    next >
Encoding:
Text File  |  1998-07-22  |  450 b   |  20 lines

  1. on enterFrame
  2.   puppetSprite(22, 1)
  3.   puppetSprite(21, 1)
  4.   if value(field "Answer") = -75 then
  5.     set the locV of sprite 21 to 436
  6.     set the locV of sprite 22 to 550
  7.     put value(field "Right") + 1 into field "Right"
  8.   else
  9.     set the locV of sprite 21 to 550
  10.     set the locV of sprite 22 to 425
  11.   end if
  12.   put " " into field "Answer"
  13.   set the visible of sprite 3 to 0
  14.   updateStage()
  15. end
  16.  
  17. on exitFrame
  18.   set the visible of sprite 3 to 1
  19. end
  20.